package myky.com.doctorapp.entity;

import java.util.List;

/**
 * Description:
 *
 * @author wuyangwuyang
 * Created by 2019/2/14 on 15:59
 */
public class DiseaseEntity {


    /**
     * code : 1
     * msg : 成功
     * data : {"diseaseList":[{"diseaseid":4,"diseasename":"神经母细胞瘤"},{"diseaseid":16,"diseasename":"肾癌"},{"diseaseid":28,"diseasename":"鼻腔及副鼻窦肿瘤"}]}
     * version : v1.0
     * size : 10
     * pages : 1
     * current : 1
     * total : 3
     */

    private int code;
    private String msg;
    private DataBean data;
    private String version;
    private int size;
    private int pages;
    private int current;
    private int total;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public static class DataBean {
        private List<DiseaseListBean> diseaseList;

        public List<DiseaseListBean> getDiseaseList() {
            return diseaseList;
        }

        public void setDiseaseList(List<DiseaseListBean> diseaseList) {
            this.diseaseList = diseaseList;
        }

        public static class DiseaseListBean {
            /**
             * diseaseid : 4
             * diseasename : 神经母细胞瘤
             */

            private int diseaseid;
            private String diseasename;

            public int getDiseaseid() {
                return diseaseid;
            }

            public void setDiseaseid(int diseaseid) {
                this.diseaseid = diseaseid;
            }

            public String getDiseasename() {
                return diseasename;
            }

            public void setDiseasename(String diseasename) {
                this.diseasename = diseasename;
            }
        }
    }
}
